﻿using System;
using wojilu.ORM;

namespace wojilu.Apps.Qycms.Domain
{
    [Table("ybb_album_file")]
    [Serializable]
    public class Album_File : ObjectBase<Album_File>
    {
        [NotNull(""), Default(0), Column(Length = 11)]
        public Int64 amid { get; set; }

        [NotNull(""), Default(0), Column(Length = 11)]
        public Int32 fiid { get; set; }

        [NotNull(""), Default(""), Column(Length = 200)]
        public String filetitle { get; set; }

        [LongText]
        public String filedes { get; set; }

        [NotNull(""), Column(Length = 200)]
        public String filename { get; set; }

        [NotNull(""), Column(Length = 200)]
        public String filepath { get; set; }

        [TinyInt, NotNull(""), Default(0), Column(Length = 1)]
        public Int32 iswidth { get; set; }

        [NotNull("")]
        public DateTime addtime { get; set; }

    }
}
